home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MPW_TOOL
/
TOOLS
/
TOOLS_WI
/
CONFIG__
/
CONFIG_L.OU1
next >
Wrap
Text File
|
1990-02-14
|
4KB
|
104 lines
Produced by config version 4.2, CWI, Amsterdam
Compiled without signed char
Compiler does not claim to be ANSI C
Char = 8 bits, signed
Short=16 int=16 long=32 float=32 double=80 bits
Char pointers = 32 bits BEWARE! larger than int!
Int pointers = 32 bits BEWARE! larger than int!
Alignments used for char=1 short=2 int=2 long=4
Character order:
short: AB
int: AB
long: ABCD
Strings are not shared
Overflow of a short does not generate a trap
Maximum short = 32767 (= 2**15-1)
Minimum short = -32768
Overflow of an int does not generate a trap
Maximum int = 32767 (= 2**15-1)
Minimum int = -32768
Overflow of a long does not generate a trap
Maximum long = 2147483647 (= 2**31-1)
Minimum long = -2147483648
Maximum unsigned short = 65535
Maximum unsigned int = 65535
Maximum unsigned long = 4294967295
PROPERTIES OF FLOAT:
Base = 2
Significant base digits = 24 (= at least 6 decimal digits)
Arithmetic rounds towards nearest
Tie breaking rounds to even
Smallest x such that 1.0-base**x != 1.0 = -24
Smallest x such that 1.0-x != 1.0 = 2.98023224e-08
Smallest x such that 1.0+base**x != 1.0 = -23
Smallest x such that 1.0+x != 1.0 = 5.96046519e-08
Number of bits used for exponent = 8
Minimum normalised exponent = -125
Minimum normalised positive number = 1.17549435e-38
The smallest numbers are not kept normalised
Smallest unnormalised positive number = 1.40129846e-45
There is an 'infinite' value
Maximum exponent = 128
Maximum number = 3.40282347e+38
Arithmetic uses a hidden bit
It looks like single length IEEE format
PROPERTIES OF DOUBLE:
Base = 2
Significant base digits = 64 (= at least 18 decimal digits)
Arithmetic rounds towards nearest
Tie breaking rounds to even
Smallest x such that 1.0-base**x != 1.0 = -64
Smallest x such that 1.0-x != 1.0 = 2.71050543121376108500e-20
Smallest x such that 1.0+base**x != 1.0 = -63
Smallest x such that 1.0+x != 1.0 = 5.42101086242752217000e-20
*** WARNING: Possibly bad output from printf above
expected value around 5.42101086242752217000e-20, bit pattern:
00111111 10111111 10000000 00000000 00000000 00000000 00000000 00000000 0000
0000 00000001
sscanf gave 5.42101086242752217000e-20, bit pattern:
00111111 10111111 10000000 00000000 00000000 00000000 00000000 00000000 0000
0000 00000000
difference= 5.87747175411143754000e-39
Number of bits used for exponent = 15
Minimum normalised exponent = -16382
Minimum normalised positive number = 1.00000000000000000000e-4914
*** WARNING: Possibly bad output from printf above
expected value around 1.68105157155604675300e-4932, bit pattern:
00000000 00000000 10000000 00000000 00000000 00000000 00000000 00000000 0000
0000 00000000
sscanf gave 1.00000000000000000000e-4914, bit pattern:
00000000 00111011 10000100 00010110 00110011 11101110 10110110 11100101 1001
0100 10101001
difference= -1.00000000000000000000e-4914
The smallest numbers are not kept normalised
Smallest unnormalised positive number = 1.00000000000000000000e-4914
*** WARNING: Possibly bad output from printf above
expected value around 1.82259976594123730100e-4951, bit pattern:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000
0000 00000001
sscanf gave 1.00000000000000000000e-4914, bit pattern:
00000000 00111011 10000100 00010110 00110011 11101110 10110110 11100101 1001
0100 10101001
difference= -1.00000000000000000000e-4914
There is an 'infinite' value
Maximum exponent = 16384
Maximum number = 1.18973149535723176500e+4932
Arithmetic doesn't use a hidden bit
It doesn't look like IEEE format
Float expressions are evaluated in double precision
Double expressions are evaluated in double precision
Memory mallocatable ~= 1 Kbytes
For hints on dealing with the problems above
see the section 'TROUBLESHOOTING' in the file config.c